package com.jk.demos.mapper;

import com.jk.demos.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ArticleMapper {
    //根据id查询
//    @Select("select * from article where id = #{id}")
    Article findbyid(int id);

}
